package com.yyy.dm.consumer.controller;

import com.yyy.dm.CommonResponse;
import com.yyy.dm.consumer.service.AreaConsumerService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/base")
public class AreaConsumerController {
    @Resource
    private AreaConsumerService areaConsumerService;
    //搜索页面查询城市
    @PostMapping("/list/querycity")
    public CommonResponse queryCity(){
        return areaConsumerService.queryCity();
    }
}
